﻿using Smobiler.Core;
using Smobiler.Core.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FubiManger.Controls
{
    ////ToolboxItem用于控制是否添加自定义控件到工具箱，true添加，false不添加
    //[System.ComponentModel.ToolboxItem(true)]
    partial class Productcountcontrol : Smobiler.Core.Controls.MobileUserControl
    {
        public Productcountcontrol() : base()
        {
            //This call is required by the SmobilerUserControl.
            InitializeComponent();
        }
        /// <summary>
        /// 封面
        /// </summary>
        public string cover { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string proname { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public string price { get; set; }
        /// <summary>
        /// 购买数量
        /// </summary>
        public string procount { get; set; }

        private void Productcountcontrol_Load(object sender, EventArgs e)
        {
            lblcount.Text = procount;//购买数量
            lblmoney.Text = price;//单价
            lblproductname.Text = proname;//商品名称
            imgcover.ResourceID = @"C:\fbimage\" + cover;//封面图
        }
    }
}